package
{
	import starling.events.Event;
	
	public class UINavigateEvent extends Event
	{
		public static const UI_GOTO:String="UIGoto";		
		public static const UI_BACK:String="UIBack";				
		
		public function UINavigateEvent(type:String, bubbles:Boolean=false, data:Object=null)
		{			
			super(type, bubbles, data);
		}

		public function get screenID():String
		{
			return this.data == null? "" : this.data.screenID.toString();
		}
		
		public function get seasonID():String
		{
			if(this.data == null)
				return ""
			if(this.data.season == null)
				return "";
			
			return this.data.season;
		}

	}
}